<style>
  .images{width:150px; height:100px; max-height:100px; overflow:hidden; }
  .images > img{width:100%;}
</style>


<table class="table table-hover">
	<thead>
		<tr>
			<th>ID</th>
			<th>名称</th>
			<th>logo</th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		<volist name="brandList" id="vo">
			<tr>
				<td>{$vo.id}</td>
				<td>{$vo.name}</td>
				<td>
					<div class="images">
						<img src="{$vo.logo}">
					</div>
				</td>
				<td>
					<a class="btn btn-primary btn-xs" href="__CONTROLLER__/modify/id/{$vo.id}">修改</a>
					<a class="btn btn-info btn-xs action-status" data-action-id="{$vo.id}" data-action-txt="执行中……" data-action-status="{$vo.is_recommend}" data-action-status-txt="推荐 取消推荐" data-action-url="__CONTROLLER__/setRecommend">{$vo["is_recommend"]?"取消推荐":"推荐"}</a>
				</td>
			</tr>
		</volist>
	</tbody>
</table>
<div class="pagination">{$pagination}</div>
